home *** CD-ROM | disk | FTP | other *** search
-
- /*
- There may be additional include files required depending
- upon the compile product you are using. Typical compilers
- include Microsoft C by Microsoft or Turbo C by Boland Int'l.
- */
- #include <stdio.h>
- main()
- {
- int i=0, a=100;
- while( i<3 ) {
- printf("-- top of loop\n");
-
- if((a+i)==100)
- a++;
- else if((a+i)==101) {
- a++;
- printf("** execution continue \n");
- continue; /* begins loop again */
- }
- else
- i++;
- printf("\ta-%d...i=%d\n",a,i);
- }
-
- }
-